package com.ruoyi.activiti.service.impl;

import com.ruoyi.activiti.entity.SysForm;
import com.ruoyi.activiti.mapper.SysFormMapper;
import com.ruoyi.activiti.service.ISysFormService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SysFormServiceImpl implements ISysFormService {

    @Autowired
    private SysFormMapper sysFromMapper;

    @Override
    public void addFrom(SysForm sysForm) {
        sysFromMapper.addFrom(sysForm);
    }

    @Override
    public SysForm detail(Integer id) {
        return sysFromMapper.detail(id);
    }
}
